<!DOCTYPE html>
<html lang="en">
<head>
    <title>My BCIT Project</title>
    <meta name="comp2800 template" content="My 2800 App">
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Bootstrap Library CSS JS CDN go here -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css" rel="stylesheet"
          integrity="sha384-SgOJa3DmI69IUzQ2PVdRZhwQ+dy64/BUtbMJw1MZ8t5HZApcHrRKUc4W0kG879m7" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/js/bootstrap.bundle.min.js"
            integrity="sha384-k6d4wzSIapyDyv1kpU366/PK5hCdSbCRGRCMv+eplOQJWyd1fbcAu9OCUj5zNLiq" crossorigin="anonymous">
    </script>
    <!-- Firebase 8 Library related CSS, JS, JQuery go here -->
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
    <!-- 新增加密库 -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bcryptjs/2.4.3/bcrypt.min.js"></script>
    <!-- Other libraries and styles of your own -->
    <!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
    <!-- <link rel="stylesheet" href="./styles/style.css"> -->
</head>
<body>
    <!-- our own navbar goes here -->
    <nav id="navbarPlaceholder"></nav>
    <!-- the body of your page goes here -->
    <section class="vh-100 bg-image" style="background-color: #b54f65;"> <!-- 修改背景颜色 -->
        <div class="mask d-flex align-items-center h-100 gradient-custom-3">
            <div class="container h-100">
                <div class="row d-flex justify-content-center align-items-center h-100">
                    <div class="col-12 col-md-9 col-lg-7 col-xl-6">
                        <div class="card" style="border-radius: 15px; background-color: #f8f0f3;"> <!-- 修改卡片背景颜色 -->
                            <div class="card-body p-5">
                                <h1 class="text-center fw-bold" style="color: #332328;">Sip Smart</h1> <!-- 修改标题颜色 -->
                                <h2 class="text-center mb-5" style="color: #665159;">Sign up for a new account</h2> <!-- 修改副标题颜色 -->
                                <form>
                                    <div data-mdb-input-init class="form-outline mb-4">
                                        <input type="text" id="newname" class="form-control form-control-lg" />
                                        <label class="form-label" for="form3Example1cg">Your Name</label>
                                    </div>
                                    <div data-mdb-input-init class="form-outline mb-4">
                                        <input type="email" id="newemail" class="form-control form-control-lg" />
                                        <label class="form-label" for="form3Example3cg">Your Email</label>
                                    </div>
                                    <div data-mdb-input-init class="form-outline mb-4">
                                        <input type="password" id="newpassword1" class="form-control form-control-lg" />
                                        <label class="form-label" for="form3Example4cg">Password</label>
                                    </div>
                                    <div data-mdb-input-init class="form-outline mb-4">
                                        <input type="password" id="newpassword2" class="form-control form-control-lg" />
                                        <label class="form-label" for="form3Example4cdg">Repeat your password</label>
                                    </div>
                                    <div class="form-check d-flex justify-content-center mb-5">
                                        <input class="form-check-input me-2" type="checkbox" id="agreeTerms" value="" />
                                        <label class="form-check-label" for="form2Example3g">
                                            I agree all statements in <a href="#!" class="text-body"><u>Terms of service</u></a>
                                        </label>
                                    </div>
                                    <div class="d-flex justify-content-center">
                                        <!-- 新增点击事件 -->
                                        <button type="button" data-mdb-button-init data-mdb-ripple-init class="btn btn-success btn-warning btn-lg gradient-custom-4 text-body" style="background-color: #885768; color: white;" onclick="signup()">Sign Up</button> <!-- 修改按钮颜色和文本颜色 -->
                                    </div>
                                    <p class="text-center text-muted mt-5 mb-0">Have already an account? <a href="#!" class="fw-bold text-body"><u>Login here</u></a></p>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- our own footer goes here-->
    <nav id="footerPlaceholder"></nav>
    <!-- Your own JavaScript functions go here -->
    <script src="./scripts/skeleton.js"></script>
    <!-- 引入新的认证脚本 -->
    <script src="./scripts/authentication.js" defer></script>
    <!-- <script src="./scripts/script.js"></script> -->
</body>
</html>